package com.auhaix.common;

/**
 * Author: Auhaix
 * E-mail: xh@qiandw.com
 * Description:返回信息枚举
 * CreatedTime: 2017/8/3 15:22
 * Modified by:
 */
public enum ResponseEnum {
    UN_KNOWN_ERROR("-1", "未知错误"),
    SUCCESS("000000", "操作成功"),
    FORM_VALIDATION_ERROR("900001", ""),
    YOU_ARE_SO_YOUNG("990005", "升职？你还太年轻"),
    YOU_NEED_MORE_STUDY("990006", "经理需要更多的学习和技能"),
    YOU_ARE_TOO_OLD("999000", "你该歇息了");

    private String msgCode;
    private String msg;

    ResponseEnum(String msgCode, String msg) {
        this.msgCode = msgCode;
        this.msg = msg;
    }

    public String getMsgCode() {
        return msgCode;
    }

    public String getMsg() {
        return msg;
    }
}
